<?php 
defined('IN_IXDCW') or exit('Access Denied');
require DT_CORE.'/'.$module.'/common.inc.php';

if(!check_group($_groupid, $MOD['group_index'])) {
	$head_title = lang('message->without_permission');
	include template('noright', 'message');
	exit;
}
$maincat = $childcat = get_maincat(0, $moduleid, 1);
$seo_file = 'index';
include DT_INC.'/seo.inc.php';
$template = $MOD['template_index'] ? $MOD['template_index'] : 'index';
include template($template, $module);